package com.hkemmm.shop.entity;

public class Addreas {
    private Integer id;

    private Integer userId;

    private Integer pid;

    private Integer cid;

    private Integer aid;

    private String address;

    private String phone;

    private String name;

    private Integer isdefault;

    private Integer del;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getIsdefault() {
        return isdefault;
    }

    public void setIsdefault(Integer isdefault) {
        this.isdefault = isdefault;
    }

    public Integer getDel() {
        return del;
    }

    public void setDel(Integer del) {
        this.del = del;
    }

    @Override
    public String toString() {
        return "Addreas{" +
                "id=" + id +
                ", userId=" + userId +
                ", pid=" + pid +
                ", cid=" + cid +
                ", aid=" + aid +
                ", address='" + address + '\'' +
                ", phone=" + phone +
                ", name='" + name + '\'' +
                ", isdefault=" + isdefault +
                '}';
    }
}